package hk.edu.uic.hejing.service.impl;

import hk.edu.uic.hejing.entity.Student;
import hk.edu.uic.hejing.mapper.StudentMapper;
import hk.edu.uic.hejing.service.IStudentService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hejing
 * @since 2017-06-01
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {


    @Override
    public List<Student> getStudentCategory() {
        return baseMapper.getStudentCategory();
    }

    @Override
    public List<Student> getStudentByRubricidClasses(int rubricid,String classes) {
        return baseMapper.getStudentByRubricidClasses(rubricid,classes);
    }
}
